<template>
  <div class="student-profill">
    <el-avatar shape="square" :size="150"> </el-avatar>
    <el-descriptions title="学员资料" :border="true">
      <el-descriptions-item label="用户名">kooriookami</el-descriptions-item>
      <el-descriptions-item label="手机号">18100000000</el-descriptions-item>
      <el-descriptions-item label="居住地">苏州市</el-descriptions-item>
      <el-descriptions-item label="备注">
        <el-tag size="small">学校</el-tag>
      </el-descriptions-item>
      <el-descriptions-item label="联系地址"
        >江苏省苏州市吴中区吴中大道 1188 号</el-descriptions-item
      >
    </el-descriptions>
  </div>
</template>
<script>
import { mapState, mapActions, mapMutations } from "vuex";
export default {
  computed: {
    ...mapState(["stuData"]),
  },
  methods: {
    ...mapActions(["GET_STULIST"]),
  },
  mounted() {
    this.GET_STULIST();
    console.log(this.stuData);
  },
};
</script>